package dao;

import model.ConnectHandlerLineModel;
import model.EquipmentDataModel;
import model.EquipmentModel;

import java.util.List;

public interface EquipmentMap {
    List<EquipmentModel> getAllEquipment(String equipmentName);

    /**
     * 修改实时数据通道1
     *
     * @param equipmentDataModel 实时数据
     * @return 影响条数
     */
    int updateEquipmentData1(EquipmentDataModel equipmentDataModel);
    /**
     * 增加实时数据通道1
     *
     * @param equipmentDataModel 实时数据
     * @return 影响条数
     */
    int insertIntoIniDate1(EquipmentDataModel equipmentDataModel);

    int updateEquipmentData2(EquipmentDataModel equipmentDataModel);
    int insertIntoIniDate2(EquipmentDataModel equipmentDataModel);

    int updateEquipmentData3(EquipmentDataModel equipmentDataModel);
    int insertIntoIniDate3(EquipmentDataModel equipmentDataModel);

    int updateEquipmentData4(EquipmentDataModel equipmentDataModel);
    int insertIntoIniDate4(EquipmentDataModel equipmentDataModel);

    int updateEquipmentData5(EquipmentDataModel equipmentDataModel);
    int insertIntoIniDate5(EquipmentDataModel equipmentDataModel);

    int updateEquipmentData6(EquipmentDataModel equipmentDataModel);
    int insertIntoIniDate6(EquipmentDataModel equipmentDataModel);

    /**
     * 增加在线信息
     *
     * @param connectHandlerLineModel model.ConnectHandlerLineModel
     * @return 影响条数
     */
    int insertIntoConnectHandler(ConnectHandlerLineModel connectHandlerLineModel);

}
